package com.wtf.dao;

import com.wtf.pojo.AuthCode;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

/**
 * @author tengfei wang
 * @version 1.0
 * @date Created in 2020/11/2
 */
public interface AuthCodeDao extends JpaRepository<AuthCode, Integer> {

    List<AuthCode> findAllByEmail(String email);
}
